package edu.neu.ecommerceplatform.service;

import edu.neu.ecommerceplatform.dto.CreateAddressRequest;
import edu.neu.ecommerceplatform.dto.UpdateAddressRequest;
import edu.neu.ecommerceplatform.model.Address;

import java.util.List;

public interface AddressService {

    List<Address> getAllAddresses();

    Address getAddressById(Integer id);

    List<Address> getAddressesByUserId(Integer userId);

    Address createAddress(CreateAddressRequest request);

    Address updateAddress(Integer id, UpdateAddressRequest request);

    void deleteAddress(Integer id);
} 